import request from '/@/utils/request';

/**
API
 */
export function useExceptionLogApi() {
	return {
		getPage: (params?: object) => {
			return request({
				url: '/system-admin/sys-exception-log/page',
				method: 'post',
				data: params,
			});
		},
		del: (params?: object) => {
			return request({
				url: '/system-admin/sys-exception-log/del',
				method: 'post',
				data: params,
			});
		},
	};
}
